home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nosvw.zip / BM < prev    next >
Text File  |  1991-09-18  |  10KB  |  284 lines

  1. ==                                                  NOSview [137]
  2. BM
  3. ==
  4.  
  5. _________________________________________________________________
  6. DOS_PROMPT>  BM [ -s <subject> ] <recipient> [<recipient> ...]
  7. _________________________________________________________________
  8. Send a mail message to one or more recipients.  The '-s' option
  9. allows you to include a subject on the command line.  If
  10. <subject> contains spaces or tabs, it must be enclosed in
  11. inverted commas or apostrophes.
  12.  
  13. A <recipient> is either a user name defined in DOMAIN.TXT or an
  14. "alias," which is an alternative name for one or more users.
  15. Aliases are defined in the file N:\ALIAS.
  16.  
  17. >>  Examples:  BM -s "Meeting Saturday" liz@ns9liz ken@ns9ken
  18.                BM ns9ken%ax9bbs@ns9gwb
  19.  
  20.  
  21. _________________________________________________________________
  22. DOS_PROMPT>  BM [ -u <mailbox> | -f <file> ]
  23. _________________________________________________________________
  24. Read a mailbox or file.  Without an option, BM reads the default
  25. mailbox specified in BM.RC.
  26.  
  27. The '-u' option allows you to specify an alternative mailbox, in
  28. which case BM will read N:\SPOOL\MAIL\<mailbox>.TXT.  This is
  29. useful if you have saved previously received messages to a file,
  30. using the 's' command.
  31.  
  32. The '-f' option allows you to read any text file in malibox
  33. format.
  34.  
  35. >> Examples: BM -u ns9bob
  36.              BM -f foo.txt
  37.  
  38.  
  39. ===============
  40. BM SUB-COMMANDS
  41. ===============
  42. The following sub-commands are available after starting BM:
  43.  
  44.  
  45. -----------------------------------------------------------------
  46. ?
  47. -----------------------------------------------------------------
  48. Print a help menu for BM commands.
  49.  
  50.  
  51. -----------------------------------------------------------------
  52. !<DOS_command>
  53. -----------------------------------------------------------------
  54. Run <DOS_command> from inside BM.  An error message will result
  55. if there is not enough memory available to load the command.
  56.  
  57. >> Example:  !dir/w
  58.  
  59.  
  60. -----------------------------------------------------------------
  61. <n> [<n> ...]
  62. -----------------------------------------------------------------
  63. Display message(s) <n>.  If a CR is entered on a blank line, the
  64. current message will be displayed.
  65.  
  66.  
  67. >> Example:  1 3 4 16
  68.  
  69.  
  70. -----------------------------------------------------------------
  71. $
  72. -----------------------------------------------------------------
  73. Update the mailbox, deleting messages marked for deletion and
  74. reading in any new mail that may have arrived since starting BM.
  75.  
  76. If you have a large number of messages in your mailbox and are
  77. cleaning it up by marking unwanted messages for deletion,
  78. updating the mailbox will shorten the header list.
  79.  
  80. -----------------------------------------------------------------
  81. b [<n>]
  82. -----------------------------------------------------------------
  83. Bounce a message.  Bounce is similar to forwarding, but instead
  84. of your user information, the original sender information is
  85. maintained.  If no message number <n> is supplied the current
  86. message is used.
  87.  
  88. >> Example:  b 12
  89.  
  90.  
  91. -----------------------------------------------------------------
  92. d [<n> ...]
  93. -----------------------------------------------------------------
  94. Mark message(s) for deletion.  Messages marked for deletion are
  95. removed when exiting BM via the 'q' command or when changing to
  96. an alternate mailbox with the 'n' command.
  97.  
  98. >> Example:  d 1 3 5
  99.  
  100.  
  101. -----------------------------------------------------------------
  102. f [<n>]
  103. -----------------------------------------------------------------
  104. The 'f' command is used to forward a mail message to another
  105. recipient.  If no message number <n> is supplied the current
  106. message is used.  The user is prompted for the recipients and a
  107. subject.  The RFC822 header is added to the message text while
  108. retaining the complete original message in the body.  Also see
  109. the '~m' command.
  110.  
  111. >> Example:  f 12
  112.  
  113.  
  114. -----------------------------------------------------------------
  115. h
  116. -----------------------------------------------------------------
  117. Display message headers.  The message headers contain the message
  118. number, the status indicating whether it has been read or
  119. deleted, the sender, size, date, and subject.
  120.  
  121. "N" indicates that the message has not yet been read.
  122. "Y" indicates that it has been read.
  123. "D" indicates that the message has been marked for deletion.
  124.  
  125.  
  126. -----------------------------------------------------------------
  127. k <jobnumber> ...
  128. -----------------------------------------------------------------
  129. Remove outbound message(s) from the send queue (N:\SPOOL\MQUEUE).
  130. The <jobnumber> for the message to be removed may be obtained by
  131. giving the 'l' command.
  132.  
  133. If the message is locked you will be warned that you may be
  134. removing a file that is currently being sent by SMTP.  You will
  135. asked if this job should still be killed.  (It is best not to
  136. remove locked messages.  They are better handled with the 'tcp
  137. reset' command).
  138.  
  139. >> Example:  k 231
  140.  
  141.  
  142. -----------------------------------------------------------------
  143. l
  144. -----------------------------------------------------------------
  145. List outbound messages.  The job number, the sender, and the
  146. destination for each message are displayed.  A status of "L" will
  147. appear if the SMTP sender has the file locked.
  148.  
  149.  
  150. -----------------------------------------------------------------
  151. m [userlist]
  152. -----------------------------------------------------------------
  153. The 'm' (mail) command is used to send a message to one or more
  154. recipients.  All local recipient names (those which don't contain
  155. an '@') are checked for possible aliases.  If no arguments are
  156. supplied you will be prompted for a recipient list.
  157.  
  158. While entering a message into the text buffer several commands
  159. are available such as invoking an editor, and reading in text
  160. from other messages or files.  See below for a description of
  161. these commands.
  162.  
  163. To end a message enter a line containing a single dot.
  164.  
  165. It is important to remember that the input line buffer has a 128
  166. character limit.  You should format your text by entering a CR at
  167. the end of each line.  Typing excessively long lines may cause
  168. data loss due to truncation when passing the message through
  169. other hosts.  Keeping lines less than 80 characters is always a
  170. good idea.
  171.  
  172. >> Example:  m liz@ns9liz
  173.  
  174.  
  175. --------------------
  176. Text buffer commands
  177. --------------------
  178. The following commands are available while entering text into the
  179. message buffer:
  180.  
  181.  ~?               Display help menu of the tilde escape commands.
  182.  
  183.  ~e               Invoke the editor defined in BM.RC with a
  184.                   temporary file containing the text in the
  185.                   message buffer.
  186.  
  187.  ~m <n>           Read message <n> into the message buffer.
  188.  
  189.  ~p               Display the text in the message buffer.
  190.  
  191.  ~q               Abort the current message.  No data is sent.
  192.  
  193.  ~r <filename>    Read <filename> into the message buffer.
  194.  
  195.  ~~               Insert a single tilde (~) character into the
  196.                   message.
  197.  
  198.  .                (dot) Save the current message.
  199.  
  200.  
  201. -----------------------------------------------------------------
  202. n [<mailbox>]
  203. -----------------------------------------------------------------
  204. Display or change mailbox.  The 'n' command with no arguments
  205. will display a list of mailboxes containing mail.  If a <mailbox>
  206. argument is supplied, then the current mailbox is closed and the
  207. new <mailbox> is opened.
  208.  
  209. >> Example:  n public
  210.  
  211.  
  212. -----------------------------------------------------------------
  213. p [<n> ...]
  214. -----------------------------------------------------------------
  215. The 'p' command is used to send messages to the printer.  This
  216. command uses the DOS device PRN for output.  This command is
  217. equivalent to 's [<n> ...] PRN'.
  218.  
  219. >> Example:  p 2 4 6
  220.  
  221.  
  222. -----------------------------------------------------------------
  223. q
  224. -----------------------------------------------------------------
  225. Quit to DOS updating the mailbox.  Messages marked for deletion
  226. WILL be deleted.
  227.  
  228.  
  229. -----------------------------------------------------------------
  230. r [<n>]
  231. -----------------------------------------------------------------
  232. Reply to a message.  Reply reads the header information in order
  233. to construct a reply to the sender.  The destination information
  234. is taken from the "From:" or the "Reply- To:"header, if included.
  235. If no message number <n> is supplied the current message is used.
  236.  
  237. >> Example:  r 23
  238.  
  239.  
  240. -----------------------------------------------------------------
  241. s [<n> ...] [<filename>]
  242. -----------------------------------------------------------------
  243. The 's' command is used to save message(s) in a file.  If no
  244. <filename> is given the default from the 'mbox' variable in BM.RC
  245. is used.  If no message number <n> is supplied then the current
  246. message is saved.
  247.  
  248. If <filename> does not exist, it will be created.  If <filename>
  249. does exist, the messages will be appended to this file.  The
  250. messages are stored in the same format as a mailbox file with all
  251. mail headers left intact.
  252.  
  253. This file can later be read into BM by invoking BM with the '-f
  254. <filename>' argument.
  255.  
  256. >> Example:  s 1 2 3 spool/mail/intray.txt
  257.  
  258.  
  259. -----------------------------------------------------------------
  260. u [<n> ...]
  261. -----------------------------------------------------------------
  262. Undelete message(s) which have been marked for deletion.  The
  263. status of a message can be determined by looking at the status
  264. field of the message using the 'h' command.
  265.  
  266. >> Example:  u 3 5
  267.  
  268.  
  269. -----------------------------------------------------------------
  270. w [<n> ...] <filename>
  271. -----------------------------------------------------------------
  272. The 'w' command is used to save message(s) in a file.  Only the
  273. message body is saved.  All mail headers are removed.  If no
  274. message number <n> is supplied then the current message is saved.
  275.  
  276. >> Example:  w 3 archive1.txt
  277.  
  278.  
  279. -----------------------------------------------------------------
  280. x
  281. -----------------------------------------------------------------
  282. Exit to DOS without changing the data in the mailbox.  Messages
  283. marked for deletion will NOT be deleted.
  284.